#!/bin/bash

if [ ! -f /tmp/lock_populate_xenia_nos ]; then
  touch /tmp/lock_populate_xenia_nos
#  `../misc/xml2env.pl`
  ./mk_sql_for_xenia.pl nos 24 debug | psql -U rcoosx -d rcoos > /var/myscheduler/netcdfscout/log/populate_xenia_nos.log 2>&1 
#  ./populate_latest_obs_by_station_id &
#  ./xenia_sqlite_to_obskml.pl nos
 # ./obskml_to_html_content_sqlite.pl nos
  rm -f /tmp/lock_populate_xenia_nos
 # cd ../tides ; ./do_tide_graphs.sh &
fi
